home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource5
/
316_01
/
time.c
< prev
next >
Wrap
Text File
|
1990-05-16
|
375b
|
33 lines
/* time, ctime for mark williams C, version 3.0.2 */
char *index();
char *rindex();
/* simulate time ctime */
char *dumtim = "";
long time()
{
return(0L);
}
char *ctime()
{
return(dumtim);
}
char *strchr(ptr, c)
char *ptr;
int c;
{
return( index(ptr, c) );
}
char *strrchr(ptr, c)
char *ptr;
int c;
{
return( rindex(ptr, c) );
}